
<article class="module width_3_quarter">
  <header>
    <h3 class="tabs_involved">文章分类</h3>
    <ul class="tabs">
      <li><a href="admins.php?act=article_add&cat_id={{$cat_id}}">新增文章</a></li>
    </ul>
  </header>
  <div class="tab_container" >
    <div id="tab1" class="tab_content">
      <table class="tablesorter" cellspacing="0">
        <thead>
          <tr>
            <th width="50px;">ID</th>
            <th width="250px;">标题</th>
            <th width="100px;">时间</th>
            <th width="60px;">状态</th>
            <th width="120px;">操作</th>
          </tr>
        </thead>
        <tbody>
        
        {{foreach from=$cat_list item=list key=key}}
        <tr class="cat_add">
          <td><input type="checkbox" name="list_checkbox" value="{{$list.article_id}}"/>{{$list.article_id}}</td>
          <td>{{$list.title}}</td>
          <td>{{$list.add_time}}</td>
          <td>{{if $list.is_open}}<small class="green">显示</small>{{else}}<small>隐藏</small>{{/if}}</td>
          <td> 
          	  <a class="alt_btn" href="admins.php?act=article_edit&a_id={{$list.article_id}}">编辑</a>
              / <a class="alt_btn" href="admins.php?act=del_article&a_id={{$list.article_id}}&cat_id={{$cat_id}}">删除</a></td>
        </tr>
        {{/foreach}}
          </tbody>
        
      </table>
    </div>
    <!-- end of #tab1 --> 
    
  </div>
 
  <!-- end of .tab_container --> 
  {{include file="../../pages.htm"}} 
  </article>
